/*
 *  $Id: IPhrasePartParser.cs 1178 2010-11-09 18:14:43Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008-2010 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

using Ragima.Languages.PhraseParts;

namespace Ragima.Languages {
    /// <summary>
    /// Интерфейс для распознавания и создания частей фраз.
    /// </summary>
    public interface IPhrasePartParser {
        bool NeedArgument { get; }
        bool Test(PhraseTemplateScanner scanner);
        PhrasePart Create(int argNum, PhraseTemplateScanner scanner);
    }
}
